]> dgit.raspbian.org Git - gnome-shell.git/commit
loginManager.js: Check for logind, not for systemd
authorMartin Pitt <martinpitt@gnome.org>
Thu, 21 Mar 2013 08:07:23 +0000 (09:07 +0100)
committerMartin Pitt <martinpitt@gnome.org>
Fri, 29 Mar 2013 10:00:52 +0000 (11:00 +0100)
commita7cd4657f5acd890569c3cbb331cbef809d408cb
treedb094e3ff51fad6168184c06293bfa71195a5939
parentbf02cde598e0d6b9dfb7913128c2260250b4ac2d
loginManager.js: Check for logind, not for systemd

It is possible to build systemd without logind, in which case
/sys/fs/cgroup/systemd would still exist. Check for /run/systemd/seats instead,
as recommended by systemd upstream.

For details, see:
<https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html>

https://bugzilla.gnome.org/show_bug.cgi?id=696252
js/misc/loginManager.js